namespace SimpleTPL;

public class SimpleTaskCompletionSource
{
    private readonly SimpleTask _task = new SimpleTask();

    public SimpleTask Task => _task;

    public void SetResult() => _task.SetResult();
    public void SetException(Exception ex) => _task.SetException(ex);
}